from likeShop_Pro.API.gettoken import Token

class handleCollectGoods_model(Token):
    path = 'api/collect/handleCollectGoods'

    def send(self,is_collect,goods_id,hd):
        mydata = {
            "is_collect":is_collect,
            "goods_id":goods_id
        }
        res = self.huihua.post(url=self.hosturl+self.path,data=mydata,headers=hd)
        return res.json()





